<!-- 职权目录编辑页面  -->
<div class="easyui-layout" data-options="fit:true,border:false">
	<div class="easyui-panel edit-panel" data-options="openAnimation:'slide',closeAnimation:'slide'">
		<div data-options="region:'center',border:false" title="" style="overflow: hidden;padding: 10px;">
			<div style="height:auto;widtd:auto">
					<div style="margin-bottom:5px" class="edit-btn">
					
					</div>  		
		    </div>
		    
			<form class="doc-form main-form" metdod="post">
				<fieldset>				
					<input name="id" id="id"  type="hidden"/>
					<input name="bizid" id="bizid"  type="hidden"/>
					<input name="createTime" id="createTime"  type="hidden"/>
					<input name="creater" id="creater"  type="hidden"/>
					<input name="state" id="state"  type="hidden"/>
					<input name="typeId" id="typeId"  type="hidden"/>
					<input name="lobid" id="lobid"  type="hidden"/>
					<input name="status" id="status"  type="hidden"/>
					<input name="public_dept_id" id="public_dept_id"  type="hidden"/>
					<input name="public_user_id" id="public_user_id"  type="hidden"/>
					 <table>
						 <tr>						 	
						 	<th>职权名称</th>
							<td><input name="name" id="name" type="text" style="width: 310px;" class="easyui-textbox easyui-validatebox" data-options="required:true"/></td>
							<th>排序编号</th>
							<td><input name="sortedid" id="sortedid" type="text" style="width: 310px;" class="easyui-textbox" /></td>						    
						 </tr>
						 <tr>
							<th>权力内容</th>
							<td colspan="3">
								<input name="power_content" id="power_content" class="easyui-textbox" style="width:700px;height:100px" data-options="multiline:true"/>
							</td>							
						</tr>
						
						 
						 <tr>						 	
						 	<th>权力类别</th>
							<td><input name="power_type" id="power_type" style="width: 310px;" class="easyui-textbox easyui-validatebox"  type="text"/></td>
							<th>责任人</th>
							<td><input name="responsible_person" id="responsible_person" type="text" style="width: 310px;" class="easyui-textbox easyui-validatebox" data-options="required:true"/></td>													    
						 </tr>
						 
						 <tr>
							<th>行使依据</th>
							<td colspan="3">
								<input name="exec_basis" id="exec_basis" class="easyui-textbox" style="width:700px;height:100px" data-options="multiline:true"/>
							</td>							
						</tr>
						
						 <tr>						 	
						 	<th>风险点</th>
							<td><input name="risk_point" id="risk_point" type="text" style="width: 310px;" class="easyui-textbox easyui-validatebox" data-options="required:true"/></td>
							<th>风险等级</th>
							<td><input name="level_risk" id="level_risk" style="width: 310px;" class="easyui-textbox easyui-validatebox"  type="text"/></td>						    
						 </tr>					 
						 <tr>
						 	<th>发布部门</th>
							<td><input name="public_dept_name" id="public_dept_name" style="width: 310px;" class="easyui-textbox"  type="text" data-options="required:true,readonly:true"/></td>
						 	<th>发布人员</th>
							<td><input name="public_user_name" id="public_user_name" buttonText="人员选择" type="text" style="width: 310px;" class="easyui-textbox" data-options="required:true,editable:false"/></td>						    
						 </tr>
						 
						 <tr>
							<th>预防措施</th>
							<td colspan="3">
								<input name="measures" id="measures" class="easyui-textbox" style="width:700px;height:100px" data-options="multiline:true"/>
							</td>
							
						</tr>		 
						<tr>						 	
						 	<th>执行科室</th>
							<td><input name="exec_department_name" id="exec_department_name" style="width: 310px;" class="easyui-textbox easyui-validatebox"  type="text"/></td>
							<th>行使主体</th>
							<td><input name="exec_body_name" id="exec_body_name" type="text" style="width: 310px;" class="easyui-textbox easyui-validatebox" data-options="required:true"/></td>
													    
						 </tr>
						
					 </table>
				</fieldset>
			</form>			
		</div>
		
	</div>
	<div class="easyui-panel upload-panel" data-options="closed:true,openAnimation:'slide',closeAnimation:'slide'">
		<div class="archive-btn">
			<a href="javascript:void(0);" class="easyui-linkbutton file_upload_btn" iconcls="icon-add" plain="true">上传</a>
			<a href="javascript:void(0);" class="easyui-linkbutton file_upload_btn" iconcls="icon-remove" plain="true">删除</a>
			<a href="javascript:void(0);" class="easyui-linkbutton file_upload_btn" iconcls="icon-undo" plain="true">返回</a>
	    </div>
		<div class="table-archive"/>
		<form class="upload-form">
			<div id="queue"></div>
			<input id="file_upload" name="file_upload" type="file" multiple="true">
			
		</form>
	</div>
</div>
<script>

requirejs(['docdetailEdit','docDuties','domReady!'],function(dept,party,doc){
	dept.init({
		doc:doc,		
		initElement:party.initElement,
		beforeSubmit:party.beforeSubmit,
		auditEnable:true	
	});	
});

</script>